package com.nit.server.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.nit.server.entity.Community;
import com.nit.server.entity.User;
import com.nit.server.mapper.CommunityMapper;
import com.nit.server.mapper.UserMapper;
import com.nit.server.service.CommunityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class CommunityServiceImpl extends ServiceImpl<CommunityMapper, Community> implements CommunityService {
    @Resource
    private CommunityMapper communityMapper;
    @Override
    public IPage pageCC(IPage<Community> page, Wrapper wrapper) {
        return communityMapper.pageCC(page,wrapper);
    }
}
